package com.link.base.base.accnt.service;

import com.link.base.base.accnt.model.SaleRegion;
import com.link.core.basic.service.BasicService;

import java.util.List;
/**
 * Copyright  hande Company. All Rights Reserved.
 *
 * @author  unknwon
 * @date:   2018/11/7 16:59
 * @version 1.0
 */

public interface SaleRegionService extends BasicService<SaleRegion> {
    /**
     * 通过客户id 分页查询数据
     * @param entity
     * @return
     * @throws Exception
     */
    public List<SaleRegion> queryByAcctIdPage(SaleRegion entity) throws Exception;

    /**
     * 通过区域编码查询销售区域
     * @param regionCode 区域编码
     * @return
     * @throws Exception
     */
    public SaleRegion queryByCode(String regionCode) throws Exception;
}
